home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dirut
/
5dosd3.zip
/
DOS-50.DOC
< prev
next >
Wrap
Text File
|
1991-07-20
|
23KB
|
944 lines
<--- The KAT Directory 2.1 --->
┌─────────────────────────┐
│from CAT Systems of Texas│
└─────────────────────────┘
A replacement for DOS 5.0 Directory Utility
for people who can't afford DOS 5.0
DOS 5.0 was released June 11, 1991, and many computer users have run
out to get it. Unfortunately, I can't afford it ! (well, I probably
can, but it takes too much time to install... etc)
For us too lazy, or too poor to purchase the $70.00 update, I have
created a replacement:
THE KAT DIRECTORY 2.1
========================================================================
Usage: CADIR [switches/directory] [switches]
CADIR ? shows help screen
┌─────────────────────────────────────────────────────────┐
│ DIRECTORY OPTIONS │
└─────────────────────────────────────────────────────────┘
/S show subdirectories + current directory
/R start display in root directory
┌──────────────────────────────────────────────────────────┐
│ PRINTING FORMAT │
└──────────────────────────────────────────────────────────┘
/W shows a wide directory
/P stops display after every page
/$ show files with attribute settings
/I3 show in 3 columns + sizes
/I6 show in 6 columns (extremely packed listing!)
/FS "Fat Sizes" shows larger display with sizes (size is displayed
in Kilobytes rather than bytes
/FT "Fat Times" shows larger display with times
┌──────────────────────────────────────────────────────────┐
│ SORTING SWITCHES │
└──────────────────────────────────────────────────────────┘
/ON sort alphabetically (A - Z)
/O-N sort reverse alphabetical (Z - A)
/OE sort by extension (A - Z)
/O-E sort by reverse extension (Z - A)
/OS sort by size (smallest-largest)
/O-S sort by reverse size (largest-smallest)
/OD sort by dates
/O-D sort by reverse dates
/OT sort by times
/O-T sort by reverse times
/OG display subdirs then files
┌──────────────────────────────────────────────────────────┐
│ ATTRIBUTE SWITCHES │
└──────────────────────────────────────────────────────────┘
/A+ display archive + system + read-only + hidden files
/AD display only sub-directories
/AH display only hidden files
/AS display only system files
/AR display only read-only files
/AA display only files with the archive bit set
┌─────────────────────────────────────────────────────────┐
│ SHOW SPECIAL FILES │
└─────────────────────────────────────────────────────────┘
/HOG show five largest files (that hog up most space)
/EXO display only executable files (*.COM & *.EXE)
/T display only files dated today
┌─────────────────────────────────────────────────────────┐
│ OTHER SWITCHES │
└─────────────────────────────────────────────────────────┘
/#REV reverse filenames+extensions (just for fun!)
/ENG capitalize first letter of name only (English style)
/CLEAR clear screen before display
/*SAVED save options to configuration file (see explanation below)
/%C setup color options (see explanation below)
/@file.ext search drive for filename (or wildcard)
/*PA show all paths on current disk
/! display EXTRA memory + allocation data
^
│
│
╓────────────────┴─────────────────────────────╖
║ EXTRA MEMORY & ALLOCATION DATA ║
║ ║
║ The following items are displayed: ║
║ ║
║ 1) Free Memory on Current Drive (in bytes) ║
║ 2) Number of Clusters on Drive ║
║ 3) Bytes Per Cluster ║
║ 4) Sectors per Cluster ║
║ 5) Ram Size (in bytes) ║
║ 6) Process ID ║
║ 7) Space in Far Heap ║
║ 8) Program Offset ║
║ 9) FAT ID Byte ║
║ 10) Disk Transfer Address ║
║ 11) Current Registers: CS, DS, ES & SS ║
║ 12) Current Date and Time ║
║ ║
╙──────────────────────────────────────────────╜
=========================================================================
Switches may be combined:
CADIR \MENU /AH/OE displays all hidden files in the \MENU directory,
sorting by extension
CADIR /AS displays all system files in current directory
CADIR /S displays all files in current directory + files
in all subdirectories
CADIR /P displays files in current directory, pausing after
each screenful
CADIR \BIN\*.C displays all files with extension "C" in \BIN
directory
CADIR *.C displays all files with extension "C" in current
directory
CADIR \MENU\*.EXE /T/! displays all executable files in the \MENU
directory that are dated today
Once finished, shows extended information
CADIR *.DOC /#REV /$ /OT
show doc files reversed-style, with attribute settings
displayed, and sorted by time
=========================================================================
====== WHAT ARE "SAVED OPTIONS" ?? ====================================
=========================================================================
You are allowed to save your options in a configuration file located
in the root directory. It is very small (usually 50 bytes), and combined
with DOS' "Path", can make you directory fast and efficient.
TO USE:
1) Put CADIR.EXE in the first directory of your "Path".
Eg: If your path is C:\DOS;D:\FILES;D:\LOTUS;D:\WINDOWS, you would
place the program in the DOS directory.
2) Type in your favorite options after CADIR.EXE, then include /*SAVE
as the last option.
Eg: CADIR /ENG /! /I6 /OS /*SAVE
3) From that point, every time you just type: CADIR , your options become
the default. No need to ever type in all those options again.
4) To override your new default options, just type in some different
switches !
Eg: to override the above default, and display a "WIDE" directory with
sorting by dates, type:
CADIR /W /OD
Your default options are still in effect, but you are just overriding
them temporarily.
NOTE: The "default" option is great! You can type: CADIR *.C and your
defaults pick up, causing your display to be /ENG /! /I6 /OS.
But when you type: CADIR /W, you have temporarily caused a wide
display, and your options are not in effect.
This saves a LOT OF TYPING ! & allows a very advanced interface.
5) To re-set the default options, just type in your new options, and
include /*SAVE as the final switch.
Eg: CADIR /W /A+ /O-D /$ /CLEAR /*SAVE
^
│
{note "save" is the last switch}─────┘
===========================================================================
============ COLOR SETUP ==================================================
===========================================================================
Once into the "Setup" screen, you are presented with the following
menu:
[TextColors]
0. BLACK
1. BLUE 2. GREEN 3. CYAN 4. RED 5. MAGENTA
6. BROWN 7. LIGHTGRAY 8. DARKGRAY 9. LIGHTBLUE 10. LIGHTGREEN
11. LIGHTCYAN 12. LIGHTRED 13. L.MAGENTA 14. YELLOW 15. WHITE
[a].DOC 15 [b].TXT 15 [c].LOG 15 [d].HLP 15
[e].COM 15 [f].EXE 15 [g].SYS 15 [h].BAT 15
[i].ARC 15 [j].ZIP 15 [k].ZOO 15 [l].LZH 15
[m].GIF 15 [n].A86 15 [o].ASM 15 [p].C 15
[q].PAS 15 [r].BAS 15 [s].OBJ 15 [t].CPP 15
[u].H 15 [v].MAP 15 [w].CFG 15 [x].TMP 15
[y].MSG 15 [z] Default Color: 15
Press Letter/Num or [ESC] exit+save:
At the above prompt, make SURE that 'Capslock' is OFF, and press the letter
or number to the left of the your choice. Here is an explanation of the
above choices:
[a].D